package com.huaxin.common.Entity;


import java.util.List;

/**
 * Created by Administrator on 2016/12/13.
 * {"data":{"customAroundItems":[{"description":"周边的环境，杂草，或者是泥泞程度","id":103,
 * "imageName":[],"isFinish":1,"itemType":0,"name":"周边环境","checkState":0,"stationCode":"a"},
 * {"description":"站内是否有人在值班","id":105,"imageName":[],"isFinish":1,"itemType":0,
 * "name":"值班情况","checkState":0,"stationCode":"a"},{"description":"周边的环境，杂草，或者是泥泞程度",
 * "id":218,"imageName":["/uploads/xunJian/a/1481965231000.png","/uploads/xunJian/a/1481965232001.png"],
 * "isFinish":1,"itemType":0,"name":"周边环境","remark":"123","checkState":2,"stationCode":"a"},
 * {"description":"站内是否有人在值班","id":219,"imageName":[],"isFinish":1,"itemType":0,"name":"值班情况",
 * "checkState":0,"stationCode":"a"}],"customCheckPoints":[{"description":"检查设备及管道腐蚀情况，确保无渗漏",
 * "id":690,"imageName":[],"isFinish":1,"itemType":1,"name":"加氯间","checkState":0,"stationCode":"a"},
 * {"description":"随便fkadf","id":693,"imageName":[],"isFinish":1,"itemType":1,"name":"随便啊11",
 * "checkState":0,"stationCode":"a"},{"description":"检查设备及管道腐蚀情况，确保无渗漏","id":882,"imageName":[],
 * "isFinish":1,"itemType":1,"name":"加氯间","checkState":0,"stationCode":"a"},{"description":"随便fkadf",
 * "id":883,"imageName":[],"isFinish":1,"itemType":1,"name":"随便啊11","checkState":0,"stationCode":"a"}],
 * "customWaterInLets":[{"description":"大门右侧10米","id":234,"isFinish":1,"itemType":2,"name":"2＃进水口",
 * "qrCode":"1234567890123","stationCode":"a"},{"description":"采样点2描述","id":235,"isFinish":1,
 * "itemType":2,"name":"R采样点2","qrCode":"1234567890123","stationCode":"a"},{"description":"123",
 * "id":237,"isFinish":1,"itemType":2,"name":"cyd","qrCode":"1234567890123","stationCode":"a"},
 * {"description":"大门右侧10米","id":378,"isFinish":1,"itemType":2,"name":"2＃进水口","qrCode":"1234567890123",
 * "stationCode":"a"},{"description":"采样点2描述","id":379,"isFinish":1,"itemType":2,"name":"R采样点2",
 * "qrCode":"1234567890123","stationCode":"a"},{"description":"123","id":380,"isFinish":1,"itemType":2,
 * "name":"cyd","qrCode":"1234567890123","stationCode":"a"}]},"checkState":1,"stationArea":"湖北省","stationState":0,
 * "workTaskDescription":"小胖好胖！","workTaskState":3}
 */

public class RepairTaskDetailDTO extends BaseDTO {
    Data         data;
    String       stationArea;
    Integer      workTaskState;
    String       workTaskDescription;
    String       workTaskResolvent;
    List<String> medicineTypeSel;
    String       deviceName;
    int       stationState;

    public int getStationState() {
        return stationState;
    }

    public void setStationState(int stationState) {
        this.stationState = stationState;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public class Data {
        List<TaskMaterial>      materialInfos;
        List<TaskWarning>       warningInfos;
        List<String>            pictureInfos;
        //加药单
        List<medicineTypeSel>   medicineTypeSel;
        //故障原因
        List<malfunctionReason> malfunctionReason;

        public List<Data.medicineTypeSel> getMedicineTypeSel() {
            return medicineTypeSel;
        }

        public void setMedicineTypeSel(List<Data.medicineTypeSel> medicineTypeSel) {
            this.medicineTypeSel = medicineTypeSel;
        }


        public List<Data.malfunctionReason> getMalfunctionReason() {
            return malfunctionReason;
        }

        public void setMalfunctionReason(List<Data.malfunctionReason> malfunctionReason) {
            this.malfunctionReason = malfunctionReason;
        }


        public List<TaskMaterial> getMaterialInfos() {
            return materialInfos;
        }

        public List<TaskWarning> getWarningInfos() {
            return warningInfos;
        }

        public List<String> getPictureInfos() {
            return pictureInfos;
        }

        public class medicineTypeSel {
            String medicineName;
            String unit;
            String number;

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getMedicineName() {
                return medicineName;
            }

            public void setMedicineName(String medicineName) {
                this.medicineName = medicineName;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            @Override
            public String toString() {
                return "medicineTypeSel{" +
                        "medicineName='" + medicineName + '\'' +
                        ", unit='" + unit + '\'' +
                        ", number='" + number + '\'' +
                        '}';
            }
        }

        public class malfunctionReason {
            int     id;
            boolean isSelect;
            String  name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return "malfunctionReason{" +
                        "id=" + id +
                        ", isSelect=" + isSelect +
                        ", name='" + name + '\'' +
                        '}';
            }
        }
    }

    public Data getData() {
        return data;
    }

    public String getStationArea() {
        return stationArea;
    }

    public Integer getWorkTaskState() {
        return workTaskState;
    }

    public String getWorkTaskDescription() {
        return workTaskDescription;
    }

    public String getWorkTaskResolvent() {
        return workTaskResolvent;
    }
}
